﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucMainMenu.ascx.cs" Inherits="TTMarketing.UserControl.SanPham.ucMainMenu" %>
<asp:ObjectDataSource ID="objDataSourceMainMenu" runat="server" 
    SelectMethod="Category_getAllCate" TypeName="TTController.clsController">
    <SelectParameters>
        <asp:Parameter DefaultValue="true" Name="visible" Type="Boolean" />
        <asp:Parameter DefaultValue="true" Name="status" Type="Boolean" />
    </SelectParameters>
</asp:ObjectDataSource>
<asp:DataList ID="DataList1" runat="server" 
    DataSourceID="objDataSourceMainMenu">
    <ItemTemplate>
        <li><a href='san-pham.aspx?cateid=<%# Eval("ID") %>' ><%# Eval("Name") %></a>            
        </li>                                                
    </ItemTemplate>
</asp:DataList><br />

